import request from "@/utils/request.js";
const courses = {
	// 获取课程列表
	getCourseList: (data) => request.post("/api/course/courseList",data),
	// 获取即刻健身课程列表
	getCourseListNow: (data) => request.post("/api/course/courseListJkjs",data),
	// 获取课程详情
	getCourseDetail: (data) => request.post("/api/course/courseEdit",data),
	// 获取课程课表
	getCoursesSchedule: (data) => request.post("/api/course/courseTime",data),
	// 获取课程课表
	getCoursesTable: (data) => request.post("/api/course/timetable",data),
	// 获取课程评价
	getCoursesEvaluate: (data) => request.post("/api/course/courseCommentList",data),
	// 获取课程评价课程
	putCourseComment: (data) => request.post("/api/course/putCourseComment",data),
	// 提交课程评价
	courseCommentAdd: (data) => request.post("/api/course/courseCommentAdd",data),
	// 获取课程评价详情
	courseCommentDetail: (data) => request.post("/api/course/courseCommentEdit",data),
	// 获取课程购买详情
	getCoursesBuyDetail: (data) => request.post("/api/course/coursePayEdit",data),
	// 课程购买
	submitCourseOrder: (data) => request.post("/api/course/courseOrder",data),
	// 积分购买
	courseOrderScore: (data) => request.post("/api/course/courseOrderScore",data),
	//课程预约
	courseReservation: (data) => request.post("/api/course/courseRpe",data),
	//课程预约取消
	cancelReservation: (data) => request.post("/api/course/courseOrderPreRe",data),
	//课程核验信息
	orderPreoffInfo: (data) => request.post("/api/course/orderPreoffInfo",data),
	//课程预约评论
	userCourseComment: (data) => request.post("/api/course/userCourseComment",data),
	
	//课程老师列表
	merchantTeacher: (data) => request.post("/api/user/merchantTeacher",data),
	//课程老师详情
	getTeacherDetail: (data) => request.post("/api/user/merchantTeacherEdit",data),
	//课程老师评价
	getTeacherEvaluate: (data) => request.post("/api/user/merchantTeacherEditComment",data),
}
export default courses;